Skip to content

Conversation

@richardjrossiii
Copy link
Contributor

This could happen because by default, await continues on the thread it was invoked from, in this case, the main thread, which is blocked on the line below.

Fixes #26.

cc @hallucinogen @grantland

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you don't need this.

@nlutsenko
Copy link

Single nit, otherwise - lgtm.

…e main thread.

This could happen because by default, `await` continues on the thread it was invoked from, in this case, the main thread, which is blocked on the line below.

Fixes #26.
@richardjrossiii richardjrossiii force-pushed the richardross.platformhooks.awaitdeadlock branch from af0d8a4 to 7febb14 Compare October 9, 2015 19:10
richardjrossiii added a commit that referenced this pull request Oct 9, 2015
…waitdeadlock

Fix deadlock in WinRT platform utils when AppName is accessed from the main thread.
@richardjrossiii richardjrossiii merged commit 356d29b into master Oct 9, 2015
@richardjrossiii richardjrossiii deleted the richardross.platformhooks.awaitdeadlock branch October 9, 2015 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants